﻿using Compass.Wasm.Shared.Wms;

namespace Compass.Wasm.Shared.Purchases;

public class NavInvReportGroupDto:BaseDto
{
    private int year;
    public int Year { get => YearMonth.Year; set { year = value; OnPropertyChanged(); } }
    //Month
    private DateTime yearMonth;
    public DateTime YearMonth { get => yearMonth; set { yearMonth = value; OnPropertyChanged(); } }


    //Group
    private Group_e group;
    public Group_e Group { get => group; set { group = value; OnPropertyChanged(); } }


    //Inventory value=Sum(Inventory*UnitCost)
    private double invValue;
    public double InvValue { get => invValue; set { invValue = value; OnPropertyChanged(); } }
}

public class NavInvReportGroupString
{
    public string YearMonth { get; set; }
    public string Group { get; set; }
    public string InvValue { get; set; }
}